//==============================================================================
// Caravan_anim.txt
//==============================================================================

//==============================================================================
define wheel
{
	SetSelector
	{
		CivilizationLogic none/Poseidon
		set hotspot
		{
			version
			{
				Visual Attachments A Wheel Spoked
			}
		}
		set hotspot
		{
			version
			{
				Visual attachments n oxcart wheel
				replacetexture Attachments N Oxcart Wheel/Attachments A Wheel Spoked
			}
		}
	}
}

//==============================================================================
define Canvas
{
	set hotspot
	{
		version
		{
			Visual trade g caravan canvas
		}
	}
}

//==============================================================================
anim idle
{
	SetSelector
	{
		CivilizationLogic none/Poseidon
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_idle
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_LoadedIdle
				}
			}   
		}
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G caravan_idlea
					connect backchest wheel hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G caravan_idlea
					connect backchest wheel hotspot
					connect attachpoint Canvas hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		CivilizationLogic none/Poseidon
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_Flail
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_LoadedFlail
				}
			}
		}
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Walka
					connect backchest wheel hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Walka
					connect backchest wheel hotspot
					connect attachpoint Canvas hotspot
				}
			}
		}
	}
}

//==============================================================================
anim walk
{
	SetSelector
	{
		TechLogic none/Coinage
		SetSelector
		{
			CivilizationLogic none/Poseidon
			SetSelector
			{
				
				InventoryLogic 0 1
				set hotspot
				{
					version
					{
						Visual Trade G Donkey_Walk
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
					}
				}
				set hotspot
				{
					version
					{
						Visual Trade G Donkey_LoadedWalk
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
					}
				}
			}
			SetSelector
			{
				InventoryLogic 0 1
				set hotspot
				{
					version
					{
						Visual Trade G caravan_Walka
						tag SpecificSoundSet 0.00 false Roll checkVisible 
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
						connect backchest wheel hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Trade G caravan_Walka
						tag SpecificSoundSet 0.00 false Roll checkVisible 
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
						connect backchest wheel hotspot
						connect attachpoint Canvas hotspot
					}
				}
			}
		}
		SetSelector
		{
			CivilizationLogic none/Poseidon
			SetSelector
			{
				
				InventoryLogic 0 1
				set hotspot
				{
					version
					{
						Visual Trade G Donkey_Walk
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true
					}
				}
				set hotspot
				{
					version
					{
						Visual Trade G Donkey_LoadedWalk
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true
					}
				}
			}
			SetSelector
			{
				InventoryLogic 0 1
				set hotspot
				{
					version
					{
						Visual Trade G caravan_Walka
						tag SpecificSoundSet 0.00 false Roll checkVisible 
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
						connect backchest wheel hotspot
					}
				}
				set hotspot
				{
					version
					{
						Visual Trade G caravan_Walka
						tag SpecificSoundSet 0.00 false Roll checkVisible 
						tag FootstepLeft 0.10 true   
						tag FootstepRight 0.00 true   
						tag FootstepLeft 0.20 true   
						tag FootstepRight 0.10 true 
						connect backchest wheel hotspot
						connect attachpoint Canvas hotspot
					}
				}
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		CivilizationLogic none/Poseidon
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_Bored
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_LoadedBored
				}
			}
		}
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Boreda
					connect backchest wheel hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Boreda
					connect backchest wheel hotspot
					connect attachpoint Canvas hotspot
				}
			}
		}
	}
}


//==============================================================================
anim Death
{
	SetSelector
	{
		CivilizationLogic none/Poseidon
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_Death
					//-- auto generated by the bang animation tool
					//-- do not hand edit these values
					tag SpecificSoundSet 0.51 false HeavyFall checkVisible 
					//-- end auto generated section
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G Donkey_LoadedDeath
					//-- auto generated by the bang animation tool
					//-- do not hand edit these values
					tag SpecificSoundSet 0.51 false HeavyFall checkVisible 
					//-- end auto generated section
				}
			}
		}
		SetSelector
		{
			InventoryLogic 0 1
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Deatha
					ReplaceTexture attachments a wheel spoked/attachments n oxcart wheel
					//-- auto generated by the bang animation tool
					//-- do not hand edit these values
					tag SpecificSoundSet 0.51 false HeavyFall checkVisible 
					//-- end auto generated section
				}
			}
			set hotspot
			{
				version
				{
					Visual Trade G caravan_Deatha
					connect attachpoint Canvas hotspot
					ReplaceTexture attachments a wheel spoked/attachments n oxcart wheel
					//-- auto generated by the bang animation tool
					//-- do not hand edit these values
					tag SpecificSoundSet 0.51 false HeavyFall checkVisible 
					//-- end auto generated section
				}
			}
		}
	}
}
